package employee.interfaces;

import java.rmi.Remote;
import java.rmi.RemoteException;

import employee.entities.EmployeeVO;
import employee.exceptions.IncompleteEmployeeException;

public interface EmployeeRemoteMgt extends Remote {

	EmployeeVO[] getEmployees() throws RemoteException;

	EmployeeVO getEmployee(int id) throws RemoteException;

	void update(EmployeeVO emp) throws RemoteException,
			IncompleteEmployeeException;

	void delete(int id) throws RemoteException;

	void add(EmployeeVO emp) throws RemoteException,
			IncompleteEmployeeException;

	boolean authenticate(EmployeeVO emp, String pass) throws RemoteException,
			IncompleteEmployeeException;

}
